using System;
using Guru.Framework.BaseDal;
using CRMG.UserManagement.Source.QO;
using System.Collections;

namespace CRMG.UserManagement.Source.DL
{
    public class UserRoleDL : BaseDL
    {

        public UserRoleDL()
        {
        }


        public void DeleteRolesOfUser(int userId)
        {
            try
            {
                Hashtable h = new Hashtable();
                h.Add("@UserId", userId);
                Manager.ExecuteQuery(UserCrud.DeleteRolesOfUser(), h);
            }
            catch (Exception)
            {
                throw;
            }
        }
    }
}

